home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 02 / 5 / DISK0254.ZIP / HELPPCJR / SECNDRY / MODE.HLP < prev    next >
Text File  |  1984-09-05  |  4KB  |  84 lines

  1. The MODE command allows you to alter various operational characteristics of
  2. your system printer, screen display and serial ports.  These assignments are
  3. temporary and will generally be reset when the system is restarted or reset.
  4. The following capabilities are provided:
  5.  
  6.  1. Change the printer line spacing and number of characters per printed line.
  7.  2. Switch to a different display mode and align the screen.
  8.  3. Set up the protocol for a serial port.
  9.  4. Redirect printer output to a serial port.
  10.  
  11. Each option is described in a separate discussion below.  See the help file
  12. DEVICES for an explanation of the various device names known to the system.
  13.  
  14. *** Change Printer Parameters ***
  15.  
  16.       MODE LPT#:[n][,[m][,P]]
  17.  
  18. The input parameters are as follows:
  19.  
  20.    #  - The printer number to change (1, 2 or 3).  Only use 1 with PCjr.
  21.    n  - The number of characters per line (80 or 132).
  22.    m  - The number of printed lines per inch (6 or 8).
  23.    P  - Perform a continuous retry when a printer timeout error is detected.
  24. The default settings for the printer are 80 characters per line and 6 lines per
  25. inch vertical spacing.  The continuous printer retry may be aborted while
  26. running by pressing the Fn Break keys.  The continuous retry on timeout may be
  27. reset to the default by entering the command without the P parameter.  If the
  28. "n" or "m" parameter is not specified, that mode remains unchanged.
  29.  
  30. *** Change Display Adapter ***
  31.  
  32.       MODE [n][,m][,T]
  33.  
  34. The input parameters are as follows:
  35.  n  = 40    - Set the display to 40 characters per line.
  36.       80    - Set the display to 80 characters per line.
  37.       BW40  - Disable color and set 40 chars/line.
  38.       BW80  - Disable color and set 80 chars/line.
  39.       CO40  - Enable color and set 40 chars/line.
  40.       CO80  - Enable color and set 80 chars/line.
  41.       MONO  - Not a valid option for the PCjr.  The IBM PC would switch to the
  42.               monochrome adapter.
  43.  m  - Shift the display left or right to enhance the readability (L or R).
  44.  T  - Display a test pattern to help align the display.
  45.  
  46. If the "m" and "T" parameters are omitted, only the display mode is changed.
  47. *** Change Serial Port Protocol ***
  48.  
  49.       MODE COMn:baud[,parity[,databits[,stopbits[,P]]]]
  50.  
  51. The input parameters are as follows:
  52.  
  53.  n  - The serial port number (1 or 2).
  54.  baud  - The baud rate desired: 110, 150, 300, 600, 1200, 2400, 4800 or 9600.
  55.          Only the first two characters are required, all others are ignored.
  56.  parity  - The parity may be one of none, odd, or even (N, O or E).
  57.  databits  - The number of databits may by either 7 or 8.
  58.  stopbits  - The number of stopbits may be either 1 or 2.
  59.  P  - Perform a continuous retry when a timeout error is detected (this should
  60.       be used if a serial printer is connected to this port).
  61.  
  62. The baud rate must be specified in the command line.  The other parameters may
  63. be omitted, in which case the default is used (parity = E, databits = 7,
  64. stopbits = 1 for all baud rates other than 110, in which case 2 stopbits is
  65. the default).  To omit a parameter enter two consecutive commas ",".  For
  66. example, MODE COM1:110,O,,2  would use the default setting of 7 databits.
  67. The continuous retry may be aborted while running by pressing the Fn Break
  68. keys.  The continuous retry on timeout may be reset to the default by entering
  69. the command without the P parameter.
  70. *** Redirect the Printer Output to a Serial Port ***
  71.  
  72.       MODE LPT#:=COMn
  73.  
  74. The input parameters are as follows:
  75.  
  76.  #  - The parallel printer number (1, 2 or 3).  Only 1 is valid for PCjr.
  77.  n  - The serial port number (1 or 2).
  78.  
  79. This command would normally be used if a serial interface printer was connected
  80. to this port.  Prior to issuing this command, the port should be initialized
  81. to the correct communications protocol using the preceding MODE command.
  82. Issuing a MODE command to change the printer parameters will disable this
  83. redirection.
  84.